<form action="score.manage.php?action=modisave" method="POST" id="form_modi">
<table width="680" class="from_table" >
  <tr>
    <th width="150" height="30" align="right"><tpl> $langSysSAppraiser </tpl>　：</th>
    <td width="480" height="30" align="left"><tpl> $score_array.membername </tpl></td>
  </tr>
  <tr>
    <th width="150" height="30" align="right"><tpl> $langSysScoreMerchandiseName </tpl>：</th>
    <td width="480" height="30" align="left"><tpl> $order_array.p_name </tpl></td>
  </tr>
  <tr>
    <th width="150" height="30" align="right"><tpl> $langSysScoreOrderNumber </tpl>　：</th>
    <td width="480" height="30" align="left"><tpl> $order_array.sp_code </tpl></td>
  </tr>
  <tr>
    <th width="150" height="30" align="right"><tpl> $langSysScoreByAppraiser </tpl>：</th>
    <td width="480" height="30" align="left"><tpl> $score_array.grademembername </tpl></td>
  </tr>
  <tr>
    <th width="150" height="30" align="right"><tpl> $langSysScoreGrade </tpl>：</th>
    <td width="480" height="30" align="left"><tpl> $rdoScore </tpl></td>
  </tr>
  <tr>
    <th width="150" height="96" align="right"><tpl> $langSysScoreMessage </tpl>：</th>
    <td width="480" align="left" ><textarea name="content" cols="60" class="tarea" rows="5"><tpl> $score_array.content </tpl>
    </textarea></td>
  </tr>
  <tr>
    <th width="150" height="98" align="right"><tpl> $langSysScoreModiExplain </tpl>：</th>
    <td width="480" align="left" ><textarea name="txtmodireason" class="tarea"  cols="60" rows="5"></textarea></td>
  </tr>
  <tr>
    <th width="150" align="right"><tpl> $langSysScoreAppraiseTime </tpl>：</th>
    <td width="480" align="left"><tpl> $score_array.pubtime </tpl></td>
  </tr>
  
<tpl> if $score_array.modify_time ne '' </tpl><br />
  <tr>
    <th width="150" align="right"><tpl> $langSysScoreLastModiExplain </tpl>：</th>
    <td width="480" align="left"><tpl> $score_array.modify_reason </tpl></td>
  </tr>
  <tr>
    <th width="150" align="right"><tpl> $langSysScoreLastModiTime </tpl>：</th>
    <td width="480" align="left"><tpl> $score_array.modify_time </tpl></td>
  </tr>
<tpl> /if </tpl>
  <tr>
    <th width="150" align="right"></th>
    <td width="480" align="left"><span class="btn_left">
<input type="submit" name="submit" value="<tpl> $langCmodi </tpl>" class="btn_submit" />
</span>
<span class="btn_left">
<input id="butt_list" type="button" value="<tpl> $langSysScoreReturnList </tpl>" class="btn_submit" />
</span></td>
  </tr>
</table>

<input type="hidden" name="genre" value="<tpl> $score_array.genre </tpl>">
<input type="hidden" name="oldscore" value="<tpl> $score_array.score </tpl>">
<input type="hidden" name="score_id" value="<tpl> $score_array.score_id </tpl>">
<input type="hidden" name="memberid" value="<tpl> $score_array.member_id </tpl>">
<input type="hidden" name="gradememberid" value="<tpl> $score_array.grade_member_id </tpl>">



</form>

<script type="text/javascript" language="javascript">
$(document).ready(function(){
	$('#butt_list').click(function(){
		ShowDiv = "result_content";
		getPageContent("score.manage.php?action=ajax_list&curpage=<tpl> $curpage </tpl>");
	})

	var options_modi = {
		beforeSubmit:  function(){showLoading(showText);},
		success:       function(msg){
						hideLoading();
						showMessage(msg.message,msg.type);
						if(msg.type == '1'){
							ShowDiv = "result_content";
							getPageContent("score.manage.php?action=ajax_list&curpage=<tpl> $curpage </tpl>");
						}
					},
		type:      'post',
		dataType:  'json'
	};
	$("#form_modi").validate({
		errorClass: "wrong",
		rules: {
			//txtemail: {required:true,email:true}
		},
		messages: {
			//txtemail: {required:"邮箱不能为空",email:"邮箱格式不正确"}
		},
		submitHandler: function() {
			$('#form_modi').ajaxSubmit(options_modi);
		}
	});
});
</script>